Instead of just listing the return type of get_plus_button() and
get_minus_button() in the documentation, we can use the (type)
annotation to ensure that the introspection data reflects the actual
type of the returned widget.
*
* Retrieves the plus button of the #GtkScaleButton.
*
- * Returns: (transfer none): the plus button of the #GtkScaleButton as a #GtkButton
+ * Returns: (transfer none) (type Gtk.Button): the plus button of the #GtkScaleButton as a #GtkButton
*
* Since: 2.14
*/
*
* Retrieves the minus button of the #GtkScaleButton.
*
- * Returns: (transfer none): the minus button of the #GtkScaleButton as a #GtkButton
+ * Returns: (transfer none) (type Gtk.Button): the minus button of the #GtkScaleButton as a #GtkButton
*
* Since: 2.14
*/